<template>
  <div class="title">
    <h2>{{message}}</h2>
    <button>按钮</button>
    <p>{{name}}</p>
    <cpn/>
  </div>
</template>



<script>
import Cpn from './cpn.vue'
export default {
  name: "App",
  data(){
    return{
      message:'stupid mother fucker',
      name:'luffy'
    }
  },
  methods:{
    btnclick(){

    }
  },
  components:{
    Cpn
  }
}
</script>

<style scoped>
  .title{color:darkred;}
</style>